<script setup lang="ts">
import { useWindowSize } from '@vueuse/core';
import zhCn from 'element-plus/dist/locale/zh-cn.mjs';
const { width } = useWindowSize();
const size = computed(() => (width.value < 2000 ? 'small' : 'default'));
</script>
<template>
  <el-config-provider :locale="zhCn" :size="size">
    <router-view></router-view>
  </el-config-provider>
</template>
<style scoped lang="scss"></style>
